<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('AlibabaTradeGetLogisticsTraceInfoBuyerViewParam/ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTO.class.php');

class ComAlibabaOceanOpenplatformBizCrossModelCrossPackageFulfillmentDTO extends SDKDomain {

       	
    private $crossMailNo;
    
        /**
    * @return 单号
    */
        public function getCrossMailNo() {
        return $this->crossMailNo;
    }
    
    /**
     * 设置单号     
     * @param String $crossMailNo     
     * 参数示例：<pre>123</pre>     
     * 此参数必填     */
    public function setCrossMailNo( $crossMailNo) {
        $this->crossMailNo = $crossMailNo;
    }
    
        	
    private $orderId;
    
        /**
    * @return 订单id
    */
        public function getOrderId() {
        return $this->orderId;
    }
    
    /**
     * 设置订单id     
     * @param String $orderId     
     * 参数示例：<pre>123</pre>     
     * 此参数必填     */
    public function setOrderId( $orderId) {
        $this->orderId = $orderId;
    }
    
        	
    private $crossPackageTraceDTOList;
    
        /**
    * @return 运踪极点list
    */
        public function getCrossPackageTraceDTOList() {
        return $this->crossPackageTraceDTOList;
    }
    
    /**
     * 设置运踪极点list     
     * @param array include @see ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTO[] $crossPackageTraceDTOList     
     * 参数示例：<pre>{}</pre>     
     * 此参数必填     */
    public function setCrossPackageTraceDTOList(ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTO $crossPackageTraceDTOList) {
        $this->crossPackageTraceDTOList = $crossPackageTraceDTOList;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "crossMailNo", $this->stdResult )) {
    				$this->crossMailNo = $this->stdResult->{"crossMailNo"};
    			}
    			    		    				    			    			if (array_key_exists ( "orderId", $this->stdResult )) {
    				$this->orderId = $this->stdResult->{"orderId"};
    			}
    			    		    				    			    			if (array_key_exists ( "crossPackageTraceDTOList", $this->stdResult )) {
    			$crossPackageTraceDTOListResult=$this->stdResult->{"crossPackageTraceDTOList"};
    				$object = json_decode ( json_encode ( $crossPackageTraceDTOListResult ), true );
					$this->crossPackageTraceDTOList = array ();
					for($i = 0; $i < count ( $object ); $i ++) {
						$arrayobject = new ArrayObject ( $object [$i] );
						$ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTOResult=new ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTO();
						$ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTOResult->setArrayResult($arrayobject );
						$this->crossPackageTraceDTOList [$i] = $ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTOResult;
					}
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "crossMailNo", $this->arrayResult )) {
    			$this->crossMailNo = $arrayResult['crossMailNo'];
    			}
    		    	    			    		    			if (array_key_exists ( "orderId", $this->arrayResult )) {
    			$this->orderId = $arrayResult['orderId'];
    			}
    		    	    			    		    		if (array_key_exists ( "crossPackageTraceDTOList", $this->arrayResult )) {
    		$crossPackageTraceDTOListResult=$arrayResult['crossPackageTraceDTOList'];
    			$this->crossPackageTraceDTOList = new ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTO();
    			$this->crossPackageTraceDTOList->setStdResult ( $crossPackageTraceDTOListResult);
    		}
    		    	    		}
 
   
}
?>